import request from '@/utils/request'
// 注册接口
export const registerAPI = (data) => {
  return request({
    url: '/user/register',
    method: 'post',
    data
  })
}

// 登入接口
export const loginAPI = (data) => {
  return request({ url: 'user/login', method: 'post', data })
}
